import request from '@/utils/request'

/**
 * 获取门店列表
 * @returns {Promise}
 */
export function getStoreList() {
  return request({
    url: '/car-vehicle/stores/list',
    method: 'get'
  })
}

/**
 * 获取门店详情
 * @param {Number} id 门店ID
 * @returns {Promise}
 */
export function getStoreDetail(id) {
  return request({
    url: `/car-vehicle/stores/${id}`,
    method: 'get'
  })
} 